package com.zyplayer.dubbo.service;

import com.zyplayer.doc.annotation.DocMethod;
import com.zyplayer.doc.annotation.DocParam;
import com.zyplayer.doc.annotation.DocParams;

public interface AnnotateService {
	
	@DocParams({
			@DocParam(value = "get名字", name = "name"),
			@DocParam(value = "get值", name = "key")
	})
	@DocMethod("我的方法最短")
	String get();
	
	@DocMethod("我来验证参数的各种类型")
	String paramType(AnnotateVo vo);
	
	@DocParam(value = "名字", name = "name")
	@DocParam(value = "key值", name = "key")
	String hello(String name, String key);
	
	@DocMethod(value = "说点什么东西", response = "说的内容")
	@DocParam(value = "名字", name = "name")
	AnnotateVo say(String name);
	
}
